#include "StdAfx.h"



BException::BException(string msg)
{
	this->msg=msg;
}
BException::~BException(void)
{
}
//CHECK THIS CODE AS SOON AS POSSIBLE
const char* BException::what() const throw()
{
	//IS THAT EVEN LEGAL??????????????
	return *(const_cast<string*>(&msg));
}
BException::operator string()
{
	return msg;
}